/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * principal.java
 *
 * Created on 08-may-2012, 20:38:30
 */
package triaje;

import javax.swing.DefaultListModel;

/**
 *
 * @author Usuario
 */
public class principal extends javax.swing.JFrame {

    /** Creates new form principal */
    Categoria cat = new Categoria();
    
    public principal() {
        initComponents();
        
        
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jPanel2 = new javax.swing.JPanel();
        jInternalFrame1 = new javax.swing.JInternalFrame();
        jTabbedPane1 = new javax.swing.JTabbedPane();
        jScrollPane3 = new javax.swing.JScrollPane();
        jTable2 = new javax.swing.JTable();
        jScrollPane6 = new javax.swing.JScrollPane();
        jTable3 = new javax.swing.JTable();
        jScrollPane4 = new javax.swing.JScrollPane();
        jTable1 = new javax.swing.JTable();
        jButton2 = new javax.swing.JButton();
        jButton3 = new javax.swing.JButton();
        jPanel4 = new javax.swing.JPanel();
        jInternalFrame2 = new javax.swing.JInternalFrame();
        ptriage = new javax.swing.JPanel();
        pdau = new javax.swing.JLayeredPane();
        jLabel1 = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        jLabel3 = new javax.swing.JLabel();
        jLabel4 = new javax.swing.JLabel();
        jLabel5 = new javax.swing.JLabel();
        jLabel6 = new javax.swing.JLabel();
        jLabel7 = new javax.swing.JLabel();
        ppaciente = new javax.swing.JPanel();
        pparterial = new javax.swing.JPanel();
        tdiastolica = new javax.swing.JTextField();
        lpam = new javax.swing.JLabel();
        lPresionArterial = new javax.swing.JLabel();
        lPresionArterial2 = new javax.swing.JLabel();
        lPresionArterial1 = new javax.swing.JLabel();
        tsistolica = new javax.swing.JTextField();
        bpam = new javax.swing.JButton();
        jLabel13 = new javax.swing.JLabel();
        bsia = new javax.swing.JButton();
        bnoa = new javax.swing.JButton();
        jLabel14 = new javax.swing.JLabel();
        bsie = new javax.swing.JButton();
        bnoe = new javax.swing.JButton();
        pglasgow = new javax.swing.JPanel();
        lglasgow = new javax.swing.JLabel();
        cbAperturaOcular = new javax.swing.JComboBox();
        jLabel16 = new javax.swing.JLabel();
        jLabel17 = new javax.swing.JLabel();
        cbRespuestaVerbal = new javax.swing.JComboBox();
        jLabel18 = new javax.swing.JLabel();
        cbRespuestaMotora = new javax.swing.JComboBox();
        jPanel1 = new javax.swing.JPanel();
        leva = new javax.swing.JLabel();
        lPulso = new javax.swing.JLabel();
        tPulso = new javax.swing.JTextField();
        tTaxilar = new javax.swing.JTextField();
        lTaxilar = new javax.swing.JLabel();
        trectal = new javax.swing.JTextField();
        lTrectal = new javax.swing.JLabel();
        tFresp = new javax.swing.JTextField();
        tsaturacion = new javax.swing.JTextField();
        lsaturacion = new javax.swing.JLabel();
        lFresp = new javax.swing.JLabel();
        tglicemia = new javax.swing.JTextField();
        jPanel3 = new javax.swing.JPanel();
        lglicemia = new javax.swing.JLabel();
        teva = new javax.swing.JTextField();
        jRadioButton2 = new javax.swing.JRadioButton();
        pAlergias = new javax.swing.JPanel();
        talergias = new javax.swing.JTextField();
        jScrollPane1 = new javax.swing.JScrollPane();
        ttalergias = new javax.swing.JTextArea();
        balergias = new javax.swing.JButton();
        pEnfermedadesCronicas = new javax.swing.JPanel();
        benfermedades = new javax.swing.JButton();
        jScrollPane2 = new javax.swing.JScrollPane();
        ttenfermedades = new javax.swing.JTextArea();
        tenfermedades = new javax.swing.JTextField();
        jComboBox1 = new javax.swing.JComboBox();
        jScrollPane5 = new javax.swing.JScrollPane();
        jList1 = new javax.swing.JList();
        jButton1 = new javax.swing.JButton();
        pindicador = new javax.swing.JPanel();
        lcategoria = new javax.swing.JLabel();
        jButton4 = new javax.swing.JButton();
        jMenuBar1 = new javax.swing.JMenuBar();
        jMenu1 = new javax.swing.JMenu();
        jMenu2 = new javax.swing.JMenu();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setTitle("Selector de Demanda");
        setBackground(new java.awt.Color(51, 255, 255));
        setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
        setResizable(false);
        addWindowListener(new java.awt.event.WindowAdapter() {
            public void windowClosed(java.awt.event.WindowEvent evt) {
                formWindowClosed(evt);
            }
        });

        javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
        jPanel2.setLayout(jPanel2Layout);
        jPanel2Layout.setHorizontalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 0, Short.MAX_VALUE)
        );
        jPanel2Layout.setVerticalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 781, Short.MAX_VALUE)
        );

        jInternalFrame1.setIconifiable(true);
        jInternalFrame1.setMaximizable(true);
        try {
            jInternalFrame1.setSelected(true);
        } catch (java.beans.PropertyVetoException e1) {
            e1.printStackTrace();
        }
        jInternalFrame1.setVisible(true);

        jTable2.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null, null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null, null, null, null, null}
            },
            new String [] {
                "S", "Paciente", "Rut", "Previsión", "Edad", "Sexo", "Domicilio", "Comuna", "Fono", "N/C", "Carabineros"
            }
        ) {
            Class[] types = new Class [] {
                java.lang.Integer.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Boolean.class, java.lang.String.class
            };

            public Class getColumnClass(int columnIndex) {
                return types [columnIndex];
            }
        });
        jTable2.setAutoResizeMode(javax.swing.JTable.AUTO_RESIZE_OFF);
        jScrollPane3.setViewportView(jTable2);

        jTabbedPane1.addTab("Admisión", jScrollPane3);

        jTable3.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Nombre", "Rut", "Motivo consulta", "Title 4"
            }
        ));
        jScrollPane6.setViewportView(jTable3);

        jTabbedPane1.addTab("CSV", jScrollPane6);

        jTable1.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {"C4", "juan padilla delgado", "16418216-9", "Masculino", null, null, null, null, null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null, null, null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null, null, null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null, null, null, null, null, null, null, null, null}
            },
            new String [] {
                "Categoria", "Nombre", "Rut", "Sexo", "P° Arterial", "Pulso", "T° Ax", "T° Rec", "Saturación", "Glicemia", "F. Resp", "Eva", "Glasgow", "N/C", "Imprimir"
            }
        ) {
            Class[] types = new Class [] {
                java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Boolean.class, java.lang.Boolean.class
            };

            public Class getColumnClass(int columnIndex) {
                return types [columnIndex];
            }
        });
        jTable1.setAutoResizeMode(javax.swing.JTable.AUTO_RESIZE_OFF);
        jTable1.setMaximumSize(new java.awt.Dimension(255, 64));
        jTable1.setMinimumSize(new java.awt.Dimension(10, 10));
        jTable1.setName(""); // NOI18N
        jScrollPane4.setViewportView(jTable1);
        jTable1.getColumnModel().getColumn(0).setPreferredWidth(80);
        jTable1.getColumnModel().getColumn(0).setHeaderValue("Categoria");
        jTable1.getColumnModel().getColumn(1).setPreferredWidth(200);
        jTable1.getColumnModel().getColumn(1).setHeaderValue("Nombre");
        jTable1.getColumnModel().getColumn(2).setPreferredWidth(80);
        jTable1.getColumnModel().getColumn(2).setHeaderValue("Rut");
        jTable1.getColumnModel().getColumn(3).setPreferredWidth(80);
        jTable1.getColumnModel().getColumn(3).setHeaderValue("Sexo");
        jTable1.getColumnModel().getColumn(4).setPreferredWidth(80);
        jTable1.getColumnModel().getColumn(4).setHeaderValue("P° Arterial");
        jTable1.getColumnModel().getColumn(5).setPreferredWidth(80);
        jTable1.getColumnModel().getColumn(5).setHeaderValue("Pulso");
        jTable1.getColumnModel().getColumn(6).setPreferredWidth(80);
        jTable1.getColumnModel().getColumn(6).setHeaderValue("T° Ax");
        jTable1.getColumnModel().getColumn(7).setPreferredWidth(80);
        jTable1.getColumnModel().getColumn(7).setHeaderValue("T° Rec");
        jTable1.getColumnModel().getColumn(8).setPreferredWidth(80);
        jTable1.getColumnModel().getColumn(8).setHeaderValue("Saturación");
        jTable1.getColumnModel().getColumn(9).setPreferredWidth(80);
        jTable1.getColumnModel().getColumn(9).setHeaderValue("Glicemia");
        jTable1.getColumnModel().getColumn(10).setPreferredWidth(80);
        jTable1.getColumnModel().getColumn(10).setHeaderValue("F. Resp");
        jTable1.getColumnModel().getColumn(11).setPreferredWidth(80);
        jTable1.getColumnModel().getColumn(11).setHeaderValue("Eva");
        jTable1.getColumnModel().getColumn(12).setPreferredWidth(80);
        jTable1.getColumnModel().getColumn(12).setHeaderValue("Glasgow");
        jTable1.getColumnModel().getColumn(13).setPreferredWidth(30);
        jTable1.getColumnModel().getColumn(13).setHeaderValue("N/C");
        jTable1.getColumnModel().getColumn(14).setPreferredWidth(50);
        jTable1.getColumnModel().getColumn(14).setHeaderValue("Imprimir");

        jTabbedPane1.addTab("Triaje", jScrollPane4);

        jButton2.setText("Añadir a CSV");

        jButton3.setText("Imprimir Dato");

        jPanel4.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Alerta Triage", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, null, new java.awt.Color(255, 0, 0)));

        javax.swing.GroupLayout jPanel4Layout = new javax.swing.GroupLayout(jPanel4);
        jPanel4.setLayout(jPanel4Layout);
        jPanel4Layout.setHorizontalGroup(
            jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 227, Short.MAX_VALUE)
        );
        jPanel4Layout.setVerticalGroup(
            jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 107, Short.MAX_VALUE)
        );

        javax.swing.GroupLayout jInternalFrame1Layout = new javax.swing.GroupLayout(jInternalFrame1.getContentPane());
        jInternalFrame1.getContentPane().setLayout(jInternalFrame1Layout);
        jInternalFrame1Layout.setHorizontalGroup(
            jInternalFrame1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jTabbedPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 283, Short.MAX_VALUE)
            .addGroup(jInternalFrame1Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jInternalFrame1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jInternalFrame1Layout.createSequentialGroup()
                        .addGap(10, 10, 10)
                        .addComponent(jPanel4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jInternalFrame1Layout.createSequentialGroup()
                        .addComponent(jButton2)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jButton3)))
                .addContainerGap(24, Short.MAX_VALUE))
        );
        jInternalFrame1Layout.setVerticalGroup(
            jInternalFrame1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jInternalFrame1Layout.createSequentialGroup()
                .addComponent(jTabbedPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 469, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jInternalFrame1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jButton2)
                    .addComponent(jButton3))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jPanel4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(123, Short.MAX_VALUE))
        );

        jInternalFrame2.setBorder(javax.swing.BorderFactory.createEtchedBorder(javax.swing.border.EtchedBorder.RAISED));
        jInternalFrame2.setForeground(new java.awt.Color(51, 255, 0));
        jInternalFrame2.setIconifiable(true);
        jInternalFrame2.setMaximizable(true);
        jInternalFrame2.setVisible(true);

        ptriage.setBorder(new javax.swing.border.MatteBorder(null));

        pdau.setBorder(javax.swing.BorderFactory.createTitledBorder(""));

        jLabel1.setText("Juan Padilla Delgado");
        jLabel1.setBounds(20, 40, 160, 14);
        pdau.add(jLabel1, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jLabel2.setText("16418216-9");
        jLabel2.setBounds(190, 40, 70, 14);
        pdau.add(jLabel2, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jLabel3.setText("25 años, 2 meses, 2 días");
        jLabel3.setBounds(20, 60, 160, 14);
        pdau.add(jLabel3, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jLabel4.setText("Masculino");
        jLabel4.setBounds(190, 60, 60, 14);
        pdau.add(jLabel4, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jLabel5.setText("Hora Admisión: 16:35:23");
        jLabel5.setBounds(20, 10, 130, 14);
        pdau.add(jLabel5, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jLabel6.setText("Contusión o Traumatismo");
        jLabel6.setBounds(20, 80, 130, 14);
        pdau.add(jLabel6, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jLabel7.setText("S3");
        jLabel7.setBounds(190, 80, 12, 14);
        pdau.add(jLabel7, javax.swing.JLayeredPane.DEFAULT_LAYER);

        ppaciente.setBorder(javax.swing.BorderFactory.createTitledBorder(""));

        pparterial.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "P° Arterial", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, null, new java.awt.Color(153, 153, 255)));

        tdiastolica.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                tdiastolicaActionPerformed(evt);
            }
        });

        lpam.setFont(new java.awt.Font("Tahoma", 0, 18));
        lpam.setText("110");

        lPresionArterial.setFont(new java.awt.Font("Tahoma", 0, 14));
        lPresionArterial.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        lPresionArterial.setText("Sistólica");

        lPresionArterial2.setFont(new java.awt.Font("Tahoma", 0, 14));
        lPresionArterial2.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        lPresionArterial2.setText("PAM");

        lPresionArterial1.setFont(new java.awt.Font("Tahoma", 0, 14));
        lPresionArterial1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        lPresionArterial1.setText("Diastólica");

        tsistolica.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                tsistolicaActionPerformed(evt);
            }
        });

        bpam.setText("Calcular PAM");
        bpam.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                bpamActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout pparterialLayout = new javax.swing.GroupLayout(pparterial);
        pparterial.setLayout(pparterialLayout);
        pparterialLayout.setHorizontalGroup(
            pparterialLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pparterialLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(pparterialLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                    .addComponent(bpam, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, pparterialLayout.createSequentialGroup()
                        .addComponent(lPresionArterial)
                        .addGap(18, 18, 18)
                        .addComponent(tsistolica, javax.swing.GroupLayout.PREFERRED_SIZE, 55, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, pparterialLayout.createSequentialGroup()
                        .addComponent(lPresionArterial1)
                        .addGap(10, 10, 10)
                        .addComponent(tdiastolica)))
                .addGap(22, 22, 22)
                .addGroup(pparterialLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(lpam)
                    .addComponent(lPresionArterial2))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        pparterialLayout.setVerticalGroup(
            pparterialLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pparterialLayout.createSequentialGroup()
                .addGroup(pparterialLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(lPresionArterial)
                    .addComponent(tsistolica, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lPresionArterial2))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(pparterialLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(pparterialLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(tdiastolica, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(lpam))
                    .addComponent(lPresionArterial1))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addComponent(bpam))
        );

        jLabel13.setText("Alergias");

        bsia.setText("SI");
        bsia.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                bsiaMouseClicked(evt);
            }
        });
        bsia.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                bsiaActionPerformed(evt);
            }
        });

        bnoa.setText("NO");
        bnoa.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                bnoaActionPerformed(evt);
            }
        });

        jLabel14.setText("Enfermedades Crónicas");

        bsie.setText("SI");
        bsie.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                bsieMouseClicked(evt);
            }
        });
        bsie.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                bsieActionPerformed(evt);
            }
        });

        bnoe.setText("NO");
        bnoe.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                bnoeMouseClicked(evt);
            }
        });
        bnoe.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                bnoeActionPerformed(evt);
            }
        });

        pglasgow.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Glasgow", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, null, new java.awt.Color(153, 153, 255)));

        lglasgow.setFont(new java.awt.Font("Tahoma", 0, 18));
        lglasgow.setText("0");

        cbAperturaOcular.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "0 - Sin Especificar", "1 - No responde", "2 - Al dolor", "3 - Estímulo verbal (al pedírselo)", "4 - Espontánea" }));
        cbAperturaOcular.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                cbAperturaOcularActionPerformed(evt);
            }
        });

        jLabel16.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel16.setText("Apertura Ocular");

        jLabel17.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel17.setText("Respuesta Verbal");

        cbRespuestaVerbal.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "0 - Sin Especificar", "1 - No responde", "2 - Sonidos incomprensibles", "3 - Palabras inapropiadas", "4 - desorientado", "5 - Orientado" }));
        cbRespuestaVerbal.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                cbRespuestaVerbalActionPerformed(evt);
            }
        });

        jLabel18.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel18.setText("Respuesta Motora");

        cbRespuestaMotora.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "0 - Sin Especificar", "1 - No responde", "2 - Respuesta en extensión (postura de descerebración)", "3 - Respuesta en flexión (postura de decorticación)", "4 - Retira ante el Estímulo doloroso", "5 - Localiza el Estímulo doloroso", "6 - Cumple Órdenes Expresadas por voz" }));
        cbRespuestaMotora.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                cbRespuestaMotoraActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout pglasgowLayout = new javax.swing.GroupLayout(pglasgow);
        pglasgow.setLayout(pglasgowLayout);
        pglasgowLayout.setHorizontalGroup(
            pglasgowLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pglasgowLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(lglasgow)
                .addGroup(pglasgowLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(pglasgowLayout.createSequentialGroup()
                        .addGap(18, 18, 18)
                        .addComponent(cbAperturaOcular, javax.swing.GroupLayout.PREFERRED_SIZE, 169, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(pglasgowLayout.createSequentialGroup()
                        .addGap(53, 53, 53)
                        .addComponent(jLabel16)))
                .addGroup(pglasgowLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(pglasgowLayout.createSequentialGroup()
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(cbRespuestaVerbal, javax.swing.GroupLayout.PREFERRED_SIZE, 177, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(pglasgowLayout.createSequentialGroup()
                        .addGap(47, 47, 47)
                        .addComponent(jLabel17)))
                .addGroup(pglasgowLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(pglasgowLayout.createSequentialGroup()
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(cbRespuestaMotora, 0, 386, Short.MAX_VALUE))
                    .addGroup(pglasgowLayout.createSequentialGroup()
                        .addGap(94, 94, 94)
                        .addComponent(jLabel18)))
                .addContainerGap())
        );
        pglasgowLayout.setVerticalGroup(
            pglasgowLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pglasgowLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(pglasgowLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(pglasgowLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(cbAperturaOcular, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(cbRespuestaMotora, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(cbRespuestaVerbal, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(pglasgowLayout.createSequentialGroup()
                        .addGroup(pglasgowLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(lglasgow)
                            .addComponent(jLabel16)
                            .addComponent(jLabel17)
                            .addComponent(jLabel18))
                        .addGap(26, 26, 26)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jPanel1.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
        jPanel1.setAutoscrolls(true);

        leva.setFont(new java.awt.Font("Tahoma", 0, 14));
        leva.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        leva.setText("EVA");

        lPulso.setFont(new java.awt.Font("Tahoma", 0, 14));
        lPulso.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        lPulso.setText("Pulso");

        lTaxilar.setFont(new java.awt.Font("Tahoma", 0, 14));
        lTaxilar.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        lTaxilar.setText("T° Axilar");

        lTrectal.setFont(new java.awt.Font("Tahoma", 0, 14));
        lTrectal.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        lTrectal.setText("T° Rectal");

        lsaturacion.setFont(new java.awt.Font("Tahoma", 0, 14));
        lsaturacion.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        lsaturacion.setText("Saturacion");

        lFresp.setFont(new java.awt.Font("Tahoma", 0, 14));
        lFresp.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        lFresp.setText("F. Resp");

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(lFresp)
                    .addComponent(lPulso))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(tFresp)
                    .addComponent(tPulso, javax.swing.GroupLayout.DEFAULT_SIZE, 53, Short.MAX_VALUE))
                .addGap(18, 18, 18)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addComponent(lsaturacion)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(tsaturacion, javax.swing.GroupLayout.PREFERRED_SIZE, 51, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addComponent(lTaxilar)
                        .addGap(18, 18, 18)
                        .addComponent(tTaxilar, javax.swing.GroupLayout.PREFERRED_SIZE, 51, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addGap(15, 15, 15)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addComponent(lTrectal)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(trectal, javax.swing.GroupLayout.PREFERRED_SIZE, 51, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jPanel1Layout.createSequentialGroup()
                        .addGap(2, 2, 2)
                        .addComponent(leva)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(tglicemia, javax.swing.GroupLayout.PREFERRED_SIZE, 51, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(27, Short.MAX_VALUE))
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
                .addContainerGap(16, Short.MAX_VALUE)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(trectal, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(lTrectal))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(leva)
                            .addComponent(tglicemia, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(lPulso)
                            .addComponent(tPulso, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(tTaxilar, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(lTaxilar))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(lFresp)
                            .addComponent(tFresp, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(lsaturacion)
                            .addComponent(tsaturacion, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))))
                .addGap(23, 23, 23))
        );

        jPanel3.setBorder(javax.swing.BorderFactory.createTitledBorder(""));

        lglicemia.setFont(new java.awt.Font("Tahoma", 0, 14));
        lglicemia.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        lglicemia.setText("Glicemia");

        teva.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                tevaActionPerformed(evt);
            }
        });

        jRadioButton2.setText("HI");

        javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3);
        jPanel3.setLayout(jPanel3Layout);
        jPanel3Layout.setHorizontalGroup(
            jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel3Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel3Layout.createSequentialGroup()
                        .addComponent(teva, javax.swing.GroupLayout.PREFERRED_SIZE, 63, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18)
                        .addComponent(jRadioButton2))
                    .addComponent(lglicemia))
                .addContainerGap(35, Short.MAX_VALUE))
        );
        jPanel3Layout.setVerticalGroup(
            jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel3Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(lglicemia)
                .addGap(18, 18, 18)
                .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(teva, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jRadioButton2))
                .addContainerGap(21, Short.MAX_VALUE))
        );

        pAlergias.setVisible(false);

        ttalergias.setColumns(20);
        ttalergias.setRows(5);
        jScrollPane1.setViewportView(ttalergias);

        balergias.setText("+");
        balergias.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                balergiasActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout pAlergiasLayout = new javax.swing.GroupLayout(pAlergias);
        pAlergias.setLayout(pAlergiasLayout);
        pAlergiasLayout.setHorizontalGroup(
            pAlergiasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, pAlergiasLayout.createSequentialGroup()
                .addComponent(talergias, javax.swing.GroupLayout.DEFAULT_SIZE, 153, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(balergias))
            .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 204, javax.swing.GroupLayout.PREFERRED_SIZE)
        );
        pAlergiasLayout.setVerticalGroup(
            pAlergiasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, pAlergiasLayout.createSequentialGroup()
                .addGroup(pAlergiasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(talergias, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(balergias, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(2, 2, 2)
                .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
        );

        pEnfermedadesCronicas.setVisible(false);

        benfermedades.setText("+");
        benfermedades.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                benfermedadesActionPerformed(evt);
            }
        });

        ttenfermedades.setColumns(20);
        ttenfermedades.setRows(5);
        jScrollPane2.setViewportView(ttenfermedades);

        javax.swing.GroupLayout pEnfermedadesCronicasLayout = new javax.swing.GroupLayout(pEnfermedadesCronicas);
        pEnfermedadesCronicas.setLayout(pEnfermedadesCronicasLayout);
        pEnfermedadesCronicasLayout.setHorizontalGroup(
            pEnfermedadesCronicasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jScrollPane2, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 229, javax.swing.GroupLayout.PREFERRED_SIZE)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, pEnfermedadesCronicasLayout.createSequentialGroup()
                .addComponent(tenfermedades, javax.swing.GroupLayout.DEFAULT_SIZE, 178, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(benfermedades))
        );
        pEnfermedadesCronicasLayout.setVerticalGroup(
            pEnfermedadesCronicasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, pEnfermedadesCronicasLayout.createSequentialGroup()
                .addGroup(pEnfermedadesCronicasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(tenfermedades, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(benfermedades, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(2, 2, 2)
                .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
        );

        jComboBox1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Sin especificar", "Dolor Precordial", "Sincope", "Poli Traumatizados", "Quemaduras", "Crisis Convulsiva", "Hemorragia Activa", "focalizacion Neurologica", "Trauma Ocular", "Retencion Urinaria", "Poli Contusos", "Fractura de cadera", "Celulitis", "Heridas Abrasivas Extensas", "Ingesta Medicamentosa", "Hemorragia no Activa", "Cuadros Gastrointestinales", "Cuadros Respiratorios Simples", "Rush Alergico Localizado", "Procedimientos: cateter Urinario Permanente", "Procedimientos: Sonda Nasogastrica", "Cuadros Gripales (viral y bacteriana)", "Picadura de insecto", "Dolor de garganta sin sintomas respiratorios", "Dolor al pecho", "Carabineros: Constatacion de lesiones y alcoholemia", "Paciente Agitado y Agresivo", "Víctima Violencia de Genero", "Consultas de Inmunosupresion y otras patologia hemofilicas", "Heridas Profundas", "Otro" }));

        jList1.setModel(new javax.swing.AbstractListModel() {
            String[] strings = { "qqq", "hhh", "mmm" };
            public int getSize() { return strings.length; }
            public Object getElementAt(int i) { return strings[i]; }
        });
        jScrollPane5.setViewportView(jList1);

        jButton1.setText("otra ventana");
        jButton1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton1ActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout ppacienteLayout = new javax.swing.GroupLayout(ppaciente);
        ppaciente.setLayout(ppacienteLayout);
        ppacienteLayout.setHorizontalGroup(
            ppacienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(ppacienteLayout.createSequentialGroup()
                .addGroup(ppacienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, ppacienteLayout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(pglasgow, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, ppacienteLayout.createSequentialGroup()
                        .addGroup(ppacienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addGroup(ppacienteLayout.createSequentialGroup()
                                .addContainerGap()
                                .addComponent(pparterial, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(ppacienteLayout.createSequentialGroup()
                                .addGap(32, 32, 32)
                                .addComponent(jLabel13)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addComponent(bsia)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(bnoa, javax.swing.GroupLayout.PREFERRED_SIZE, 47, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(ppacienteLayout.createSequentialGroup()
                                .addGap(20, 20, 20)
                                .addComponent(pAlergias, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                        .addGroup(ppacienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(ppacienteLayout.createSequentialGroup()
                                .addGap(2, 2, 2)
                                .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(10, 10, 10)
                                .addComponent(jPanel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                            .addGroup(ppacienteLayout.createSequentialGroup()
                                .addGap(48, 48, 48)
                                .addGroup(ppacienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addGroup(ppacienteLayout.createSequentialGroup()
                                        .addComponent(jLabel14)
                                        .addGap(22, 22, 22)
                                        .addComponent(bsie)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                        .addComponent(bnoe, javax.swing.GroupLayout.PREFERRED_SIZE, 47, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(18, 18, 18)
                                        .addComponent(jComboBox1, javax.swing.GroupLayout.PREFERRED_SIZE, 177, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                        .addComponent(jButton1))
                                    .addGroup(ppacienteLayout.createSequentialGroup()
                                        .addComponent(pEnfermedadesCronicas, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(18, 18, 18)
                                        .addComponent(jScrollPane5)))))))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        ppacienteLayout.setVerticalGroup(
            ppacienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(ppacienteLayout.createSequentialGroup()
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGroup(ppacienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(pparterial, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(ppacienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                        .addComponent(jPanel3, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(jPanel1, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
                .addGap(11, 11, 11)
                .addComponent(pglasgow, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(29, 29, 29)
                .addGroup(ppacienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(ppacienteLayout.createSequentialGroup()
                        .addGroup(ppacienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel13)
                            .addComponent(bnoa, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(bsia))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(pAlergias, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(ppacienteLayout.createSequentialGroup()
                        .addGroup(ppacienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel14)
                            .addComponent(bnoe, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(bsie)
                            .addComponent(jComboBox1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jButton1))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(ppacienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jScrollPane5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(pEnfermedadesCronicas, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))))
        );

        pindicador.setBorder(javax.swing.BorderFactory.createTitledBorder(""));

        lcategoria.setFont(new java.awt.Font("Tahoma", 0, 48));
        lcategoria.setText("Cx");

        jButton4.setText("Categorización Manual");

        javax.swing.GroupLayout pindicadorLayout = new javax.swing.GroupLayout(pindicador);
        pindicador.setLayout(pindicadorLayout);
        pindicadorLayout.setHorizontalGroup(
            pindicadorLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pindicadorLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(pindicadorLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jButton4, javax.swing.GroupLayout.DEFAULT_SIZE, 190, Short.MAX_VALUE)
                    .addComponent(lcategoria, javax.swing.GroupLayout.PREFERRED_SIZE, 64, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap())
        );
        pindicadorLayout.setVerticalGroup(
            pindicadorLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, pindicadorLayout.createSequentialGroup()
                .addGap(29, 29, 29)
                .addComponent(lcategoria, javax.swing.GroupLayout.PREFERRED_SIZE, 71, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 44, Short.MAX_VALUE)
                .addComponent(jButton4)
                .addGap(27, 27, 27))
        );

        javax.swing.GroupLayout ptriageLayout = new javax.swing.GroupLayout(ptriage);
        ptriage.setLayout(ptriageLayout);
        ptriageLayout.setHorizontalGroup(
            ptriageLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(ptriageLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(ptriageLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(ptriageLayout.createSequentialGroup()
                        .addComponent(pdau, javax.swing.GroupLayout.PREFERRED_SIZE, 603, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18)
                        .addComponent(pindicador, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(ppaciente, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(19, Short.MAX_VALUE))
        );
        ptriageLayout.setVerticalGroup(
            ptriageLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, ptriageLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(ptriageLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(pindicador, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(pdau, javax.swing.GroupLayout.DEFAULT_SIZE, 199, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(ppaciente, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(58, 58, 58))
        );

        javax.swing.GroupLayout jInternalFrame2Layout = new javax.swing.GroupLayout(jInternalFrame2.getContentPane());
        jInternalFrame2.getContentPane().setLayout(jInternalFrame2Layout);
        jInternalFrame2Layout.setHorizontalGroup(
            jInternalFrame2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(ptriage, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
        );
        jInternalFrame2Layout.setVerticalGroup(
            jInternalFrame2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(ptriage, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
        );

        jMenuBar1.setBackground(java.awt.Color.orange);

        jMenu1.setText("File");
        jMenuBar1.add(jMenu1);

        jMenu2.setText("Edit");
        jMenuBar1.add(jMenu2);

        setJMenuBar(jMenuBar1);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addComponent(jInternalFrame2, javax.swing.GroupLayout.PREFERRED_SIZE, 871, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jInternalFrame1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(4567, 4567, 4567)
                .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .addComponent(jInternalFrame2, javax.swing.GroupLayout.PREFERRED_SIZE, 714, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jInternalFrame1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap())
        );

        try {
            jInternalFrame1.setMaximum(true);
        } catch (java.beans.PropertyVetoException e1) {
            e1.printStackTrace();
        }

        java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        setBounds((screenSize.width-1200)/2, (screenSize.height-780)/2, 1200, 780);
    }// </editor-fold>//GEN-END:initComponents

private void formWindowClosed(java.awt.event.WindowEvent evt) {//GEN-FIRST:event_formWindowClosed
// TODO add your handling code here:
}//GEN-LAST:event_formWindowClosed

private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
// TODO add your handling code here:
        //obtener el listado de los sintomas asociados (incluirlos en un string[])
        //comunicacion con la base de datos
        //...
        //test de prueba
          
        
        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {

            public void run() {
                ListadoEnfermedades q = new ListadoEnfermedades();
                //mostrar ventana
                q.setVisible(true);
                
            }
        });
            
}//GEN-LAST:event_jButton1ActionPerformed

private void benfermedadesActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_benfermedadesActionPerformed
// TODO add your handling code here:
    String texto = tenfermedades.getText();
    ttenfermedades.append(texto);
    ttenfermedades.append(System.getProperty("line.separator"));
}//GEN-LAST:event_benfermedadesActionPerformed

private void balergiasActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_balergiasActionPerformed
// TODO add your handling code here:
    String texto = talergias.getText();
    ttalergias.append(texto); //agrega un strint sin eliminar lo que ya hay en el textarea
    ttalergias.append(System.getProperty("line.separator")); //agrega un salto de línea
}//GEN-LAST:event_balergiasActionPerformed

private void tevaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_tevaActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_tevaActionPerformed

private void cbRespuestaMotoraActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cbRespuestaMotoraActionPerformed
// TODO add your handling code here:
    int a=0;
    int x, y;
    a = cbRespuestaMotora.getSelectedIndex(); //seleccionamos el valor del combobox
    cat.setCbRM(a);
    x = cat.ObtenerGlasgow(); //obtener valor glasgow
    y = cat.Glasgow(x, -1); //obtener categorización
    String g = Integer.toString(x); //int to string
    lglasgow.setText(g); //visualizar el glasgow
    x=0;
    y=0;
}//GEN-LAST:event_cbRespuestaMotoraActionPerformed

private void cbRespuestaVerbalActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cbRespuestaVerbalActionPerformed
// TODO add your handling code here:
    int a=0;
    int x, y;
    a = cbRespuestaVerbal.getSelectedIndex(); //seleccionamos el valor del combobox
    cat.setCbRV(a);
    x = cat.ObtenerGlasgow(); //obtener valor glasgow
    y = cat.Glasgow(x, -1); //obtener categorización
    String g = Integer.toString(x); //int to string
    lglasgow.setText(g); //visualizar el glasgow cbRespuestaMotora
    x=0;
    y=0;
}//GEN-LAST:event_cbRespuestaVerbalActionPerformed

private void cbAperturaOcularActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cbAperturaOcularActionPerformed
// TODO add your handling code here:
    int a=0;
    int x, y;
    a = cbAperturaOcular.getSelectedIndex(); //seleccionamos el valor del combobox
    cat.setCbAO(a);
    x = cat.ObtenerGlasgow(); //obtener valor glasgow
    y = cat.Glasgow(x, -1); //obtener categorización
    String g = Integer.toString(x); //int to string
    lglasgow.setText(g); //visualizar el glasgow
    x=0;
    y=0;
    
}//GEN-LAST:event_cbAperturaOcularActionPerformed

private void bnoeActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_bnoeActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_bnoeActionPerformed

private void bnoeMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_bnoeMouseClicked
// TODO add your handling code here:
    pEnfermedadesCronicas.setVisible(false);
}//GEN-LAST:event_bnoeMouseClicked

private void bsieActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_bsieActionPerformed
// TODO add your handling code here:
    
}//GEN-LAST:event_bsieActionPerformed

private void bsieMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_bsieMouseClicked
// TODO add your handling code here:
    pEnfermedadesCronicas.setVisible(true);
    ttenfermedades.setEditable(false);
}//GEN-LAST:event_bsieMouseClicked

private void bnoaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_bnoaActionPerformed
// TODO add your handling code here:
    pAlergias.setVisible(false);
    ttalergias.setText(null);
    talergias.setText(null);
    
}//GEN-LAST:event_bnoaActionPerformed

private void bsiaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_bsiaActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_bsiaActionPerformed

private void bsiaMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_bsiaMouseClicked
// TODO add your handling code here:
    pAlergias.setVisible(true);
    ttalergias.setEditable(false);
}//GEN-LAST:event_bsiaMouseClicked

private void bpamActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_bpamActionPerformed
// TODO add your handling code here:
    //Sistolica
    String texto1; //variable donde guardar lo que hay en el textfield
    texto1 = tsistolica.getText(); //guardamos lo ingresado en el textfiel a "texto"
    int sistolica = Integer.parseInt(texto1); //string to int
    cat.setPs(sistolica); //inicializamos "ps" de la clase Categoria.java
    //Diastolica
    String texto2; //variable donde guardar lo que hay en el textfield
    texto2 = tdiastolica.getText(); //guardamos lo ingresado en el textfiel a "texto"
    int diastolica = Integer.parseInt(texto2); //string to int
    cat.setPd(diastolica); //inicializamos "ps" de la clase Categoria.java
    //Boton
    int valor = cat.ObtenerPAM();
    if(valor!=-1) lpam.setText(Integer.toString(valor)); //visualizamos el valor de PAM
    else lpam.setText("0");
    
    //CATEGORIZACIÓN
        int c;
        if(cat.ps!=-1 && cat.pd!=-1 && valor!=-1)
        { 
            c = cat.PresionArterial(cat.ps, cat.pd, 12);
            lcategoria.setText(Integer.toString(c));
        }
}//GEN-LAST:event_bpamActionPerformed

private void tsistolicaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_tsistolicaActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_tsistolicaActionPerformed

private void tdiastolicaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_tdiastolicaActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_tdiastolicaActionPerformed

    /**
     * @param args the command line arguments
     */
/*    
public static void main(String args[]) {
        // Set the Nimbus look and feel 
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         /
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(principal.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(principal.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(principal.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(principal.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        // Create and display the form 
        java.awt.EventQueue.invokeLater(new Runnable() {

            
            public void run() {
                new principal().setVisible(true);
            }
        });
    }
*/
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton balergias;
    private javax.swing.JButton benfermedades;
    private javax.swing.JButton bnoa;
    private javax.swing.JButton bnoe;
    private javax.swing.JButton bpam;
    private javax.swing.JButton bsia;
    private javax.swing.JButton bsie;
    private javax.swing.JComboBox cbAperturaOcular;
    private javax.swing.JComboBox cbRespuestaMotora;
    private javax.swing.JComboBox cbRespuestaVerbal;
    private javax.swing.JButton jButton1;
    private javax.swing.JButton jButton2;
    private javax.swing.JButton jButton3;
    private javax.swing.JButton jButton4;
    private javax.swing.JComboBox jComboBox1;
    private javax.swing.JInternalFrame jInternalFrame1;
    private javax.swing.JInternalFrame jInternalFrame2;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel13;
    private javax.swing.JLabel jLabel14;
    private javax.swing.JLabel jLabel16;
    private javax.swing.JLabel jLabel17;
    private javax.swing.JLabel jLabel18;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JList jList1;
    private javax.swing.JMenu jMenu1;
    private javax.swing.JMenu jMenu2;
    private javax.swing.JMenuBar jMenuBar1;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanel3;
    private javax.swing.JPanel jPanel4;
    private javax.swing.JRadioButton jRadioButton2;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JScrollPane jScrollPane3;
    private javax.swing.JScrollPane jScrollPane4;
    private javax.swing.JScrollPane jScrollPane5;
    private javax.swing.JScrollPane jScrollPane6;
    private javax.swing.JTabbedPane jTabbedPane1;
    private javax.swing.JTable jTable1;
    private javax.swing.JTable jTable2;
    private javax.swing.JTable jTable3;
    private javax.swing.JLabel lFresp;
    private javax.swing.JLabel lPresionArterial;
    private javax.swing.JLabel lPresionArterial1;
    private javax.swing.JLabel lPresionArterial2;
    private javax.swing.JLabel lPulso;
    private javax.swing.JLabel lTaxilar;
    private javax.swing.JLabel lTrectal;
    private javax.swing.JLabel lcategoria;
    private javax.swing.JLabel leva;
    private javax.swing.JLabel lglasgow;
    private javax.swing.JLabel lglicemia;
    private javax.swing.JLabel lpam;
    private javax.swing.JLabel lsaturacion;
    private javax.swing.JPanel pAlergias;
    private javax.swing.JPanel pEnfermedadesCronicas;
    private javax.swing.JLayeredPane pdau;
    private javax.swing.JPanel pglasgow;
    private javax.swing.JPanel pindicador;
    private javax.swing.JPanel ppaciente;
    private javax.swing.JPanel pparterial;
    private javax.swing.JPanel ptriage;
    private javax.swing.JTextField tFresp;
    private javax.swing.JTextField tPulso;
    private javax.swing.JTextField tTaxilar;
    private javax.swing.JTextField talergias;
    private javax.swing.JTextField tdiastolica;
    private javax.swing.JTextField tenfermedades;
    private javax.swing.JTextField teva;
    private javax.swing.JTextField tglicemia;
    private javax.swing.JTextField trectal;
    private javax.swing.JTextField tsaturacion;
    private javax.swing.JTextField tsistolica;
    private javax.swing.JTextArea ttalergias;
    private javax.swing.JTextArea ttenfermedades;
    // End of variables declaration//GEN-END:variables
}
